home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / rexx / lhafile.rexx < prev    next >
OS/2 REXX Batch file  |  1996-01-15  |  700b  |  27 lines

  1.  
  2. /* Arexxtestscript for the viruskiller VirusWorkshop from Markus Schmall */
  3. /* Version 1.0 (5.6.1995)                                                */
  4.  
  5. OPTIONS RESULTS                             /* enable return codes     */
  6.  
  7. address 'VWPort'
  8.  
  9.  
  10. OPTIONS FAILAT 999                          /* ignore warnings         */
  11.  
  12. /* ------------------------ inSERT YOUR CODE HERE: ------------------- */
  13.  
  14. say "Checking a LHA/LZX archive..."
  15. "LFILE ram:test.lha"
  16. say "Checking finished..."
  17. IF rc=15 THEN say "Error while LHA operations..."
  18. IF rc=0 THEN say "No virus found..."
  19. IF rc=1 THEN say "Virus found and deleted...."
  20.  
  21. /* ---------------------------- END OF YOUR CODE --------------------- */
  22.  
  23. EXIT
  24.  
  25.  
  26.  
  27.